<template>
  <div class="outer-box">
    <div class="center-content">
      <video src="@/assets/bg.mp4"
             autoplay
             muted
             loop></video>
      <span class="content-tip">内容正在加载。。。</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "LoadingPage"
}
</script>

<style lang="scss" scoped>
.outer-box {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  .center-content {
    top: 160px;
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    .content-tip {
      position: absolute;
      display: inline-block;
      width: 240px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      left: calc(50% - 120px);
      color: #fff;
      font-size: 24px;
      top: 300px;
    }
  }
}
</style>